package com.smartian.v2.model;

import android.text.TextUtils;

/**
 * Created by tianweitong on 2020/2/24.
 */

public class ScheduleTaskInfo {
    private String title;
    private String frequent;
    private String userInputText;
    private String dateTime;
    private String transformText;

    public void setTitle(String title) {
        this.title = title;
    }

    public void setFrequent(String frequent) {
        this.frequent = frequent;
    }

    public void setUserInputText(String userInputText) {
        this.userInputText = userInputText;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public void setTransformText(String transformText) {
        this.transformText = transformText;
    }

    public String getTitle() {
        return title;
    }

    public String getFrequent() {
        return frequent;
    }

    public String getUserInputText() {
        return userInputText;
    }

    public String getDateTime() {
        if(!TextUtils.isEmpty(dateTime)){
            dateTime = dateTime.trim();
        }
        return dateTime;
    }

    public String getTransformText() {
        return transformText;
    }
}
